package com.maltys.sign_aspect.util;

import javax.servlet.http.HttpServletRequest;

/**
 * @author luonankun
 * @date 2022/10/21
 **/
public interface SignStrategy {
    
    String SIGN = "sign";
    String TIMESTAMP = "timestamp";

    /**
     * 请求接口验签
     *
     * @param request
     * @param signKey
     * @param appKeyIdx
     * @return
     */
    Boolean checkSign(HttpServletRequest request, String signKey, int[][] appKeyIdx) throws Exception;
}
